package com.ren.weibo.aop;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.stereotype.Component;

@Aspect
@Component
public class LogAspect {
    @Before("execution(public int com.ren.weibo.aop.Calculatorimpl.*(..))")
    public void before(){
        System.out.println("before");
    }
}
